package cn.tedu.coolshark.pojo.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ProductDTO {
    @ApiModelProperty(value = "产品标题")
    private String title;
    @ApiModelProperty(value = "产品价格")
    private Double price;
    @ApiModelProperty(value = "产品原价")
    private Double oldPrice;
    @ApiModelProperty(value = "产品销量")
    private Integer saleCount;
    @ApiModelProperty(value = "产品库存")
    private Integer num;
    @ApiModelProperty(value = "产品分类id")
    private Integer categoryId;
    @ApiModelProperty(value = "产品图片url")
    private String url;


}
